Repository navigation
Merged
Conversation
…ger installed says another one is installed now
…d says none is installed
…rsion is installed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #263
component removeof a version whose record outlived the component said "The ios 18.5 installed now is not the one Simlock installed", although no 18.5 was installed. The record survives a removal that failed after the driver deleted the component, which ADR 0010 §5 allows.ComponentInstaller#removablenow tells the two refusals apart when no listed component has the record's receipt:Same
COMPONENT_NOT_OWNEDcode. The receipt check runs first, so a component whose receipt matches is still removed even when the listing spells its version differently. The stale record is kept, as the triage report recommends.docs/CLI.md,docs/HTTP-API.mdanddocs/CLIENT.mddescribe the code as "did not install it, or it changed on disk since", which stays true; no doc change.Checklist
src/core/component-installer.test.ts"refuses a record whose version is no longer installed saying none is installed, and a record whose version was installed again saying that one is not Simlock's, in a removal and a dry run alike".pnpm checkpasses: lint, unit, and the fake-driver e2e lane.Review
Spec review: 0 findings, 0 fixed. Code review: 2 findings, 1 fixed.
Rejected:
26.5.0, its receipt matches nothing, and26.5is installed with another receipt, the refusal says none is installed instead of "not Simlock's" — the agreed fix compares versions as exact strings, as everything else in the core does, and the triage report names this risk. Both texts are the same refusal with the same code, and nothing is removed either way.Written by an agent.